package com.ruoyi.dzzh.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 灾情速报对象 dzzh_report
 * 
 * @author cjt
 * @date 2023-03-15
 */
public class DzzhReport extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 速报ID */
    private Long reportId;

    /** 速报人 */
    @Excel(name = "速报人")
    private String userName;

    /** 速报时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "速报时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date reportDate;

    /** 速报位置 */
    @Excel(name = "速报位置")
    private String reportLocation;

    /** 问题描述 */
    @Excel(name = "问题描述")
    private String reportDetail;

    /** 处理情况记录 */
    @Excel(name = "处理情况记录")
    private String reportDeal;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 速报附件信息 */
    private List<FileReport> fileReportList;

    public void setReportId(Long reportId) 
    {
        this.reportId = reportId;
    }

    public Long getReportId() 
    {
        return reportId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setReportDate(Date reportDate) 
    {
        this.reportDate = reportDate;
    }

    public Date getReportDate() 
    {
        return reportDate;
    }
    public void setReportLocation(String reportLocation) 
    {
        this.reportLocation = reportLocation;
    }

    public String getReportLocation() 
    {
        return reportLocation;
    }
    public void setReportDetail(String reportDetail) 
    {
        this.reportDetail = reportDetail;
    }

    public String getReportDetail() 
    {
        return reportDetail;
    }
    public void setReportDeal(String reportDeal) 
    {
        this.reportDeal = reportDeal;
    }

    public String getReportDeal() 
    {
        return reportDeal;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public List<FileReport> getFileReportList()
    {
        return fileReportList;
    }

    public void setFileReportList(List<FileReport> fileReportList)
    {
        this.fileReportList = fileReportList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("reportId", getReportId())
            .append("userName", getUserName())
            .append("reportDate", getReportDate())
            .append("reportLocation", getReportLocation())
            .append("reportDetail", getReportDetail())
            .append("reportDeal", getReportDeal())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("fileReportList", getFileReportList())
            .toString();
    }
}
